package com.medical.project.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.medical.framework.aspectj.lang.annotation.Excel;
import com.medical.framework.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 参合缴费登记对象 tb_join_nh
 * 
 * @author tale
 * @date 2020-06-16
 */
public class JoInRegister extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 参合证号 */
    private String joinNhCode;

    /** 家庭编码 */
    @Excel(name = "家庭编码")
    private String familyId;

    /** 参合人身份证号 */
    @Excel(name = "参合人身份证号")
    private String joinIdCard;

    /** 参合时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "参合时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date joinTime;

    /** 参合发票编号 */
    @Excel(name = "参合发票编号")
    private String joinInvoiceCode;

    /** 参合经办人员编号 */
    @Excel(name = "参合经办人员编号")
    private String userId;

    /** 参合年份 */
    @Excel(name = "参合年份")
    private String joinYear;

    /** $column.columnComment */
    @Excel(name = "参合年份")
    private String areacode;

    /** 缴费金额 */
    @Excel(name = "缴费金额")
    private String money;

    public void setJoinNhCode(String joinNhCode) 
    {
        this.joinNhCode = joinNhCode;
    }

    public String getJoinNhCode() 
    {
        return joinNhCode;
    }
    public void setFamilyId(String familyId) 
    {
        this.familyId = familyId;
    }

    public String getFamilyId() 
    {
        return familyId;
    }
    public void setJoinIdCard(String joinIdCard) 
    {
        this.joinIdCard = joinIdCard;
    }

    public String getJoinIdCard() 
    {
        return joinIdCard;
    }
    public void setJoinTime(Date joinTime) 
    {
        this.joinTime = joinTime;
    }

    public Date getJoinTime() 
    {
        return joinTime;
    }
    public void setJoinInvoiceCode(String joinInvoiceCode) 
    {
        this.joinInvoiceCode = joinInvoiceCode;
    }

    public String getJoinInvoiceCode() 
    {
        return joinInvoiceCode;
    }
    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setJoinYear(String joinYear) 
    {
        this.joinYear = joinYear;
    }

    public String getJoinYear() 
    {
        return joinYear;
    }
    public void setAreacode(String areacode) 
    {
        this.areacode = areacode;
    }

    public String getAreacode() 
    {
        return areacode;
    }
    public void setMoney(String money) 
    {
        this.money = money;
    }

    public String getMoney() 
    {
        return money;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("joinNhCode", getJoinNhCode())
            .append("familyId", getFamilyId())
            .append("joinIdCard", getJoinIdCard())
            .append("joinTime", getJoinTime())
            .append("joinInvoiceCode", getJoinInvoiceCode())
            .append("userId", getUserId())
            .append("joinYear", getJoinYear())
            .append("areacode", getAreacode())
            .append("money", getMoney())
            .toString();
    }
}
